home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / examples / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  1.3 KB  |  59 lines

  1. #!smake
  2. #
  3. # Copyright 1993, Silicon Graphics, Inc.
  4. #  All Rights Reserved.
  5. #
  6. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  7. # the contents of this file may not be disclosed to third parties, copied or
  8. # duplicated in any form, in whole or in part, without the prior written
  9. # permission of Silicon Graphics, Inc.
  10. #
  11. # RESTRICTED RIGHTS LEGEND:
  12. # Use, duplication or disclosure by the Government is subject to restrictions
  13. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  14. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  15. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  16. # rights reserved under the Copyright Laws of the United States.
  17. #
  18. #
  19. # Makefile for opengl 2 class source code
  20. #
  21. #    "$Revision: 1.2 $"
  22.  
  23. include    $(ROOT)/usr/include/make/commondefs
  24.  
  25. SUBDIRS= \
  26.     rasterops \
  27.     texture \
  28.     selection \
  29.     feedback \
  30.     clipplanes \
  31.     adv_texture \
  32.     fog \
  33.     nurbs \
  34.     accum \
  35.     stencil \
  36.     image_extensions \
  37.     sgi_extensions \
  38.     glx_extensions \
  39.     irisgl_vs_opengl \
  40.     porting    \
  41.     ${NULL}
  42.  
  43. .PRECIOUS: $(SUBDIRS)
  44.  
  45. COMMONPREF=ogl2src
  46.  
  47. default install $(COMMONTARGS): 
  48.     @for d in $(SUBDIRS); do \
  49.         if [ -d $$d ] ; then \
  50.             echo "====\tcd $$d; $(MAKE) $@"; \
  51.             ( cd $$d; $(MAKE) $@; ) ; \
  52.         fi ; \
  53.     done
  54.  
  55. $(SUBDIRS): $(_FORCE)
  56.     cd $@; $(MAKE)
  57.  
  58. include $(COMMONRULES)
  59.